// https://nuxt.com/docs/api/configuration/nuxt-config
import Components from 'unplugin-vue-components/vite'
import {
  ElementPlusResolver
} from 'unplugin-vue-components/resolvers'
export default defineNuxtConfig({
    vite: {
        plugins: [
            Components({
                resolvers: [
                  ElementPlusResolver()
                ]
              })
        ],
        ssr: {
            noExternal: ['element-plus']
        }
    },
})
